<template>
    <div class="city-header">
        <div class="left" @click="go">
            <em class="iconfont arrow-left-bold">&#xe6e8;</em>
        </div>
        <div class="right">
            选择城市
        </div>
    </div>
</template>

<script>
    export default {
        data() {
            return {
                
            }
        },
        mounted(){

        },
        methods:{
            go(){
                this.$router.go(-1)
            }
        }
    }
</script>

<style lang="scss" scoped>
.city-header{
    width: 100%;
    height: .8rem;
    background: #00bcd4;
    display: flex;
    .left{
        width: .4rem;
        height: 100%;
        line-height: .8rem;
        .arrow-left-bold{
            font-size: .4rem;
            color: white;
        }
    }
    .right{
        flex: 1;
        text-align: center;
        height: .8rem;
        line-height:.8rem;
        font-size: .3rem;
        color: white;
    }
}
</style>